package cn.baimo.pojo;

import java.io.Serializable;

/**
 * ClassName: Focus
 * Description:分组实体类
 * date: 2020/8/28 0028 15:30:07
 * <p>
 * fid	        int	                    主键	            编号
 * uid	        varchar(255)	        非空，外键user表	主用户id
 * focusUid	    varchar(255)	        非空，外键user表	关注的id
 * focusDate	datetime	            非空	            关注时间
 * groupName	varchar(255)['未分组']	非空	            分组名
 *
 * @author BaiMo
 * @since JDK 1.8
 */
public class Focus implements Serializable {
    private int fid;//分组编号
    private User user;//主用户
    private User focusUser;//关注用户
    private String focusDate;//关注时间
    private String groupName;//分组名

    public Focus(int fid, User user, User focusUser, String focusDate, String groupName) {
        this.fid = fid;
        this.user = user;
        this.focusUser = focusUser;
        this.focusDate = focusDate;
        this.groupName = groupName;
    }

    public Focus() {
    }

    @Override
    public String toString() {
        return "Focus{" +
                "fid=" + fid +
                ", user=" + user +
                ", focusUser=" + focusUser +
                ", focusDate='" + focusDate + '\'' +
                ", groupName='" + groupName + '\'' +
                '}';
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public User getFocusUser() {
        return focusUser;
    }

    public void setFocusUser(User focusUser) {
        this.focusUser = focusUser;
    }

    public String getFocusDate() {
        return focusDate;
    }

    public void setFocusDate(String focusDate) {
        this.focusDate = focusDate;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
